Einhugur macOS Bridge plugin.

NSButton.CheckBoxWithTitle Method

Creates checkbox button with given title and optional click handler.

shared CheckBoxWithTitle(
   textValue as String,
   clickHandler as ButtonClickDelegate) as EinhugurMacOSBridge.NSButton

Parameters

textValue
The title to put on the checkbox.
clickHandler
The click handler to put on the checkbox or nil if no click handler is wanted.

Returns

EinhugurMacOSBridge.NSButton

Remarks

This function did not exists before macOS 10.12 and will return nil on older systems

See Also

NSButton Class